<template>
  <div class="head">
    <van-icon class="navLeft" name="arrow-left" size="25" @click="onClickLeft"/>
    <van-search class="navCenter" v-model="value" shape="round" background="aqua" placeholder="请输入搜索关键词" @click="onSeek"/>
    <van-icon class="navRight" name="scan" size="25"/>
  </div>
</template>

<script>
export default {

    methods: {
    onClickLeft() {
      this.$router.push('/home')
    },
    onSeek() {
    this.$router.push('/search')
    },
    }
}
</script>

<style>

</style>